<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/header-common'); ?>
<section id="translate">
	<div class="container well">	
		<div class="row-fluid">
			<div class="span8 offset2">
				<form action="<?php echo site_url("/user/translate");?>" method="post">
					<fieldset>
						<legend>旧通行证转换程序</legend>
						<?php if (isset($error)) {?>
							<div class="alert">
		  						<a class="close" data-dismiss="alert">×</a>
		  						<strong>错误</strong> <?php echo $error;?>
							</div>
							<?php }?>
						<div class="form-group">
							<div class="control-group">
								<label for="" class="control-label">原家园账户用户名</label>
								<div class="controls">
									<input type="text" class="input-medium" value="<?php echo set_value("oldusername");?>" name="oldusername">
								</div>
							</div>
							<div class="controls-group">
								<label for="" class="control-label">原家园账户密码</label>
								<div class="controls">
									<input type="password" class="input-medium" value="<?php echo set_value("oldpassword");?>" name="oldpassword">
								</div>
							</div>
							<div class="controls-group">
								<label for="" class="control-label">学号</label>
								<div class="controls">
									<input type="text" class="input-medium" value="<?php echo set_value("stuID");?>" name="stuID">
								</div>
							</div>
							<div class="controls-group">
								<label for="" class="control-label">教务系统密码</label>
								<div class="controls">
									<input type="password" class="input-medium" value="<?php echo set_value("hdupassword");?>" name="hdupassword">
								</div>
							</div>
						</div>
					</fieldset>
				</form>
			</div>
		</div>
	</div>
</section>
 <?php $this->load->view('common/footer'); ?>